package com.kch.system.mapper;

import com.kch.system.domain.SysBusiness;
import com.kch.system.domain.UserBrowse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserBrowseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserBrowse record);

    int insertSelective(UserBrowse record);

    UserBrowse selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserBrowse record);

    int updateByPrimaryKey(UserBrowse record);

    int deleteOverTwenty(@Param("userId") Integer userId);

    List<SysBusiness> selectBrowseByUserId(@Param("userId") Integer userId);
}